package com.lfm.park.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lfm
 * @date 2020/3/17 - 11:34
 */
public class Temporary implements Serializable {
    private Integer id;
    private Integer carlocation;
    private String cartype;
    private String carnumber;


    private Date entertime;
    private Date endtime;
    private float money;
    private Integer userid;
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCarlocation() {
        return carlocation;
    }

    public void setCarlocation(Integer carlocation) {
        this.carlocation = carlocation;
    }

    public String getCartype() {
        return cartype;
    }

    public void setCartype(String cartype) {
        this.cartype = cartype;
    }

    public Date getEntertime() {
        return entertime;
    }

    public void setEntertime(Date entertime) {
        this.entertime = entertime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getCarnumber() {
        return carnumber;
    }

    public void setCarnumber(String carnumber) {
        this.carnumber = carnumber;
    }

    @Override
    public String toString() {
        return "Temporary{" +
                "id=" + id +
                ", carlocation=" + carlocation +
                ", cartype='" + cartype + '\'' +
                ", carnumber='" + carnumber + '\'' +
                ", entertime=" + entertime +
                ", endtime=" + endtime +
                ", money=" + money +
                ", userid=" + userid +
                ", user=" + user +
                '}';
    }
}
